package com.xiaolin.designmode.mediator;

/**
 * @ClassName Colleague
 * @Description 抽象同事类
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/7
 * @Version 1.0
 */
public abstract class Colleague {
    Mediator mediator;

    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }
    public abstract void send();
    public abstract void receive();
}
